home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Video Toaster 4.0
/
Video Toaster v4.0.iso
/
arexx
/
modeler
/
loadfonts.lwm
< prev
next >
Wrap
Text File
|
1993-12-13
|
816b
|
28 lines
/* Load multiple PS Fonts into Modeler CMD: Load Fonts
* Edit list below to load selected fonts, add a fname.# entry and change the
* value of FontCount to the highest number you want loaded. This script
* is a natural candidate for a startup macro */
libadd = addlib("LWModelerARexx.port",0)
call addlib "rexxsupport.library", 0, -30, 0
fname.=""
ftdir = '/ToasterFonts/'
FontCount=3 /* How many from this list to load */
fname.1="B&PGraphics/OlNova-Bold"
fname.2="B&PGraphics/OlNova-BoldIta"
fname.3="B&PGraphics/StopRegular"
fname.4="B&PGraphics/VeraCruz-Regular"
fname.5="FontBankH-M/Jasper"
do i=1 to FontCount
font=fontload(ftdir||fname.i)
if font=0 then do
call notify(1,"!Can't load font "ftdir||fname.i)
exit
end
end
if (libadd) then call remlib("LWModelerARexx.port")
exit